const userInfo = {
	state: {
		token: null,
		/**
		 * 刷新token使用
		 */
		refreshToken: null,
	},
	getters: {
		getToken(state) {
			return state.token;
		},
		getRefreshToken(state) {
			return state.refreshToken;
		}
	},
	mutations: {
		updateToken(state, value) {
			state.token = value;
		},
		updateRefreshToken(state, value) {
			state.refreshToken = value;
		}
	},
	actions: {
		// 定义你的actions
	},
};

export default userInfo;